GDK W32: Re-implement AeroSnap for CSD windows
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 8 Mar 2016 02:33:47 +0000 (02:33 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 30 Mar 2016 08:59:56 +0000 (08:59 +0000)
commit0ce217cf94c2a0c1c9936daded9dd5b6183cea32
tree5d38cb3e5606bf199c3af8576c3bca0718e04f21
parent27a1b50bc63553909abf3958837114b65313a445
GDK W32: Re-implement AeroSnap for CSD windows

It works exactly like AeroSnap.
Except for shift+win+left/right, which is left for AeroSnap
to handle (AeroSnap takes action before we get the message,
so there's no way for us to override it).
The only thing that doesn't work is shift+win+left/right on
a maximized window, for reasons unknown at the moment.

This only implements winkey+stuff behaviour of AeroSnap,
not the drag-to-the-edge-and-something-funny-happens one.

https://bugzilla.gnome.org/show_bug.cgi?id=763013
gdk/win32/gdkevents-win32.c
gdk/win32/gdkprivate-win32.h
gdk/win32/gdkwindow-win32.c
gdk/win32/gdkwindow-win32.h